package com.springbootmybatis.service;

import com.springbootmybatis.pojo.Book;

import java.util.List;

public interface BookService {
	List<Book> findAllBook();
	Book findBookById(Integer id);
	List<Book>searchBooks(Book book);
	Integer addBook(Book book);
	Integer updateBook(Book book);
	Integer deleteById(Integer id);
}
